package com.qf.service.impl;

import com.qf.dao.UserDao;
import com.qf.domain.SysUsers;
import com.qf.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserDao userDao;
    @Override
    public SysUsers findByUsername(String username) {
        return userDao.findAll(username);
    }
}
